
<div id="stylized" class="myform">
	<form id="form" name="form" action="sign_up.php" method="POST">
		<p><b>[Step 1: Survey]</b> [Step 2: Create account]</p>
		
		<label>Full Name
		</label>
		<input type="text" name="Q1[name]" value="<?php echo $zQ1['name'] ?>" />
		
		
		<label>Age
		</label>
		<input type="text" name="Q1[age]" value="<?php echo $zQ1['age'] ?>" />
		
		
		<label>Gender
		</label>
		<select name="Q1[gender]">
						<option value="male" <?php if (!(isset($zQ1['gender'])) || !(strcmp($zQ1['gender'], 'male'))) echo 'selected="selected"';?>>Male</option>
						<option value="female" <?php if (!strcmp($zQ1['gender'], 'female')) echo 'selected="selected"';?>>Female</option>
						</select>
		
		
		<label>Most recent educational qualification
		</label>
		<div class="radio_btns">
						<input type="radio" class="radio" name="Q1[education]" value="highschool" <?php if (!strcmp($zQ1['education'], 'highschool')) echo 'checked="yes"';?>> High-school</input><br />	
						<input type="radio" class="radio" name="Q1[education]" value="undergraduate" <?php if (!strcmp($zQ1['education'], 'undergraduate')) echo 'checked="yes"';?>> Undergraduate</input><br />
						<input type="radio" class="radio" name="Q1[education]" value="graduate" <?php if (!strcmp($zQ1['education'], 'graduate')) echo 'checked="yes"';?>> Graduate</input><br />
						<input type="radio" class="radio" name="Q1[education]" value="postgraduate" <?php if (!strcmp($zQ1['education'], 'postgraduate')) echo 'checked="yes"';?>> Postgraduate</input>
		</div>
		
		
		<label>Background (e.g. Accountancy, Computer Science etc.)
		</label>
		<input type="text" name="Q1[background]" value="<?php echo $zQ1['background'] ?>" />
		
		
		<label>Years of experience in using a computer
		</label>
		<input type="text" name="Q1[years_computer_usage]" value="<?php echo $zQ1['years_computer_usage'] ?>" />
		
		
		
		<label>Years of experience in playing computer games
		</label>
		<input type="text" name="Q1[years_computer_play]" value="<?php echo $zQ1['years_computer_play'] ?>" />
		
		<div class="note"><i>Note: This data will be kept confidential and only be used in the current study.</i></div>
		
		<button type="submit">Next</button>
		<div class="spacer"></div>
		

		<?php 
		if ($Q1_validation_errors)
			print '<div class="errors">'.$Q1_validation_errors.'</div>';
		?>
		
	</form>
</div>
